import { _decorator, Component, Node } from 'cc'
import FSMMgr from '../../Managers/FSMMgr'

export class FSMState {
  // 状态ID
  StateID: number
  // 状态拥有者
  component: Component
  // 所属状态机
  fsmManager: FSMMgr

  constructor(id: number, comp: Component, mgr: FSMMgr) {
    this.StateID = id
    this.component = comp
    this.fsmManager = mgr
  }

  OnEnter() {}

  OnUpdate() {}
}
